//
//  ConstApi.h
//  EducationOID
//
//  Created by slz on 2017/5/19.
//  Copyright © 2017年 bnsr. All rights reserved.
//

#ifndef ConstApi_h
#define ConstApi_h

#ifdef DEBUG
#define kAPI_HOST(API)   [NSString stringWithFormat:@"http://www.e-oid.org.cn/oid%@",API]
#else
#define kAPI_HOST(API)   [NSString stringWithFormat:@"http://www.e-oid.org.cn/oid%@",API]
#endif


#define kAPI_HOME_NEWS kAPI_HOST(@"/interfaceapp/news_rows")
#define kAPI_PUBLIC_OIDINFO kAPI_HOST(@"/interfaceapp/pub_rows")//发布信息
#define kAPI_PUT_OIDINFO kAPI_HOST(@"/interfaceapp/put_rows") //注册公示信息
#define kAPI_WORK_OIDINFO kAPI_HOST(@"/interfaceapp/work_dynamic_rows")//工作动态信息
#define kAPI_WORK_OIDINFO_DETAIL kAPI_HOST(@"/interfaceapp/show_work_dynamic_detail")
#define kAPI_WORK_SHOW_NEWS_DETAIL kAPI_HOST(@"/interfaceapp/show_news_detail")
#define kAPI_SHOW_OID_DETAIL kAPI_HOST(@"/interfaceapp/show_oid_detail")
#define kAPI_OID_INFO_REQUEST kAPI_HOST(@"/interfaceapp/search_oid")
#define kAPI_OID_PROGRESS_LIST kAPI_HOST(@"/interfaceapp/oid_list")
#define kAPI_OID_CHANGE_USERINFO kAPI_HOST(@"/interfaceapp/change_userinfo")
#define kAPI_OID_CHANGE_USERPWD kAPI_HOST(@"/interfaceapp/change_userpwd")
#define kAPI_OID_SEARCH_OID_NEW kAPI_HOST(@"/interfaceapp/search_oid_url")
#endif /* ConstApi_h  change_userpwd*/
